package com.his.dao.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.time.LocalDate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author fall
 * @since 2022-11-28
 */
@Getter
@Setter
@TableName("t_sign_in")
@ApiModel(value = "SignIn对象", description = "")
public class SignIn extends Model<SignIn> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "sign_in_id", type = IdType.AUTO)
    private Integer signInId;

    @TableField("user_id")
    private Integer userId;

    @TableField("sign_in_date")
    private LocalDate signInDate;


    @Override
    public Serializable pkVal() {
        return this.signInId;
    }

}
